Skip to contentSkip to conversation

vdpau logging errors since gallium/radeon: adjust the rule for using the LINEAR_ALIGNED layout

Bug 99542 [email protected] 1 participant 11 messages Jan 25, 2017 – Feb 15, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99542

Bug ID: 99542
Summary: vdpau logging errors since gallium/radeon: adjust the
rule for using the LINEAR_ALIGNED layout
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

R9 285 since

7b32ae4df5bc19c378598d6a950a6019fa64ece6
gallium/radeon: adjust the rule for using the LINEAR_ALIGNED layout

mpv --hwdec=vdpau or
mpv --vo=vdpau

outputs hundreds of

EE r600_texture.c:1571 r600_texture_transfer_map - failed to create temporary texture to hold untiled copy

Still renders/decodes.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

--- Comment #2 from Andy Furniss <[email protected]> --- (In reply to Marek Olšák from comment #1)

Quoted 1 line

Hi, can you describe how to reproduce this?

It seems you need current mpv either release or git.

I just tried a year old mpv and that doesn't show the issue.

Easy to produce for me just mpv --vo=vdpau somevid results in the logging to stderr.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

Andy Furniss <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Andy Furniss <[email protected]> --- *** Bug 99579 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

--- Comment #4 from Johannes Hirte <[email protected]> --- Same here on Carizzo. I've tested with mpv version 0.18, 0.22 and 0.23. With all of them I get the r600_texture_transfer_map error. VLC version 2.2.4 and mplayer 1.3.0 are working fine.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

Kai <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |bisected, regression

--- Comment #5 from Kai <[email protected]> ---
Just to copy over some info from bug 99579:
- VLC seems unaffected with VDPAU decoding (I used cvlc).
- mpv 0.23.0 from Debian testing triggers this with either VA-API or VDPAU (see bug 99579, comment #0 for detailed version information and the full stack used by myself).
- I can only prevent this with setting both --hwdec=no and --vo to something other than "vaapi" or "vdpau".

I can confirm, that reverting 7b32ae4df5bc19c378598d6a950a6019fa64ece6 fixes the issue for me (thus I'm marking this bug as bisected).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

--- Comment #6 from John <[email protected]> ---
Same here on a 280x with mpv 0.23 and mesa-git & llvm-svn from yesterday (it's been like this for maybe 2 weeks or 3).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

--- Comment #7 from Marek Olšák <[email protected]> ---
It's a bug in mpv. It calls vlVdpOutputSurfacePutBitsNative with a zero-area destination_rect.

I'm really glad I haven't reverted the Mesa commit. The workaround is on mesa-dev:
"vdpau: skip vlVdpOutputSurfacePutBitsNative with a zero-area rectangle"

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

--- Comment #8 from Kai <[email protected]> --- (In reply to Marek Olšák from comment #7)

Quoted 6 lines

It's a bug in mpv. It calls vlVdpOutputSurfacePutBitsNative with a zero-area destination_rect.

I'm really glad I haven't reverted the Mesa commit. The workaround is on mesa-dev:
"vdpau: skip vlVdpOutputSurfacePutBitsNative with a zero-area rectangle"

I can confirm, that the patch on the mailing list suppresses these errors as well.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Tested-by Kai Wasserbäch Reviewed-by Kai Wasserbäch Reviewed-by Christian König
#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

Kai <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Kai <[email protected]> --- Fix commited to master:

commit 0561b3c75af2e4bb216b686bf62ae9d89c584dc8

Author: Marek Olšák <[email protected]>
Date:   Sun Feb 12 15:48:48 2017 +0100

vdpau: skip vlVdpOutputSurfacePutBitsNative with a zero-area rectangle

This prevents errors:
"EE r600_texture.c:1571 r600_texture_transfer_map - failed to create
temporary texture to hold untiled copy"

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99542

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99542

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel